import {INDEX_ARR, THEME_ARR, USER_ID, SCORE_ARR, SENTENCE_ARR_TIME, SENTENCE_ARR_ACRONYM} from './mutations-types'

export default {
  [INDEX_ARR] (state, data) {
    state.indexArr = data
    // console.log(state)
  },
  [THEME_ARR] (state, data) {
    state.themeArr = data
    // console.log(state)
  },
  [USER_ID] (state, data) {
    state.userId = data
    // console.log(state)
  },
  [SCORE_ARR] (state, data) {
    state.scoreArr = data
  },
  [SENTENCE_ARR_TIME] (state, data) {
    state.sentenceArrTime = data
  },
  [SENTENCE_ARR_ACRONYM] (state, data) {
    state.sentenceArrAcronym = data
  }

}
